package database

data class Bottle(
    val id: Int,
    val added: Int,
    val botId: Long,
    val userId: Long,
    val groupId: Long,
    val content: String,
    val usage: Int
) : Comparable<Bottle> {
    override fun compareTo(other: Bottle): Int {
        return this.usage * 12555 + this.added - other.usage * 12555 - other.added
    }
}
